-- GENERATED SPELL FOR [Talbuk Stag] --


function spell0_17130(pUnit, Event) --@Gore,n/a--
pUnit:FullCastSpellOnTarget(32019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17130', 15000, 1)
end

function Sorts_17130(pUnit, Event)
local choix_sorts_17130 = math.random(0, 0)
if choix_sorts_17130 == 0 then
pUnit:RegisterEvent('spell0_17130', 1, 1)
end
end

function mob17130_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17130', math.random(1500, 3000), 1)
end

function mob17130_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17130_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17130_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17130, 1, 'mob17130_Action')
RegisterUnitEvent(17130, 2, 'mob17130_Leave')
RegisterUnitEvent(17130, 3, 'mob17130_Kill')
RegisterUnitEvent(17130, 4, 'mob17130_Die')
